﻿using System.Collections.Generic;
using SteamGroupPlayers.Utilities;

namespace SteamGroupPlayers.Model
{
    public class Player : NotifyPropertyChanged
    {
        #region Properties
        public bool IsLoading { get; set; }
        public bool IsCorrupted { get; set; }
        public long ID { get; set; }
        public bool Public { get; set; }
        public string Name { get; set; }
        public List<Game> Played { get; set; }
        public double SumRecent { get; set; }
        public double SumAll { get; set; }
        public string CommunityURL { get; set; }
        public string State { get; set; }
        public string StateMessage { get; set; }
        public string PrivacyState { get; set; }
        public string AvatarIcon { get; set; }
        public string AvatarMedium { get; set; }
        public string AvatarFull { get; set; }
        public bool VACBanned { get; set; }
        #endregion

        #region Constructors
        public Player()
        {
            Public = false;
            AvatarIcon = Properties.Resources.EmptyIcon;
            AvatarMedium = Properties.Resources.EmptyMedium;
            AvatarFull = Properties.Resources.EmptyFull;
            IsLoading = true;
            IsCorrupted = false;
        }
        #endregion
    }
}
